---
# tasks file for entries

- name: find desktop
  ansible.builtin.find:
    paths: /home/OKB3
    recurse: yes
    depth: 3
    file_type: directory
    patterns:
    - "Desktop"
    - "Рабочий стол"
    - "Desktop1"
  register: desktops

- name: place link
  ansible.builtin.copy:
    src: clinicrec.desktop
    dest: "{{ item.path }}/clinicrec.desktop"
  with_items: "{{ desktops.files }}"
